package com.bruan.create_thread;

public class ThreadTest1 {
    //默认线程main
    public static void main(String[] args) {
        //创建线程
        Thread t = new MyThread();
        t.start();//执行主线程
        for (int i = 0; i < 10; i++) {
            System.out.println("主线程输出"+i);
        }
    }
}
